package com.bootdo.crm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.bootdo.crm.dao.OwnerRecordDao;
import com.bootdo.crm.domain.OwnerRecordDO;
import com.bootdo.crm.service.OwnerRecordService;



@Service
public class OwnerRecordServiceImpl implements OwnerRecordService {
	@Autowired
	private OwnerRecordDao ownerRecordDao;
	
	@Override
	public OwnerRecordDO get(Integer recordId){
		return ownerRecordDao.get(recordId);
	}
	
	@Override
	public List<OwnerRecordDO> list(Map<String, Object> map){
		return ownerRecordDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ownerRecordDao.count(map);
	}
	
	@Override
	public int save(OwnerRecordDO ownerRecord){
		return ownerRecordDao.save(ownerRecord);
	}
	
	@Override
	public int update(OwnerRecordDO ownerRecord){
		return ownerRecordDao.update(ownerRecord);
	}
	
	@Override
	public int remove(Integer recordId){
		return ownerRecordDao.remove(recordId);
	}
	
	@Override
	public int batchRemove(Integer[] recordIds){
		return ownerRecordDao.batchRemove(recordIds);
	}
	
}
